Finding Quotient and Remainder